area = input('请输入地区编码：')
weight = float(input('请输入重量（kg）：'))

price = 0   # 挖一块内存用来存价格
if area == '01':  # 华东地区
    if weight <= 2:   # 首重
        price = 13
    else:   # 续重
        price = 13 + (weight - 2) * 3
elif area == '02':  # 华南地区
    if weight <= 2:   # 首重
        price = 12
    else:   # 续重
        price = 12 + (weight - 2) * 2
elif area == '03':   # 华北地区
    if weight <= 2:   # 首重
        price = 14
    else:   # 续重
        price = 14 + (weight - 2) * 4
else:
    print('地区编码有误！')

print('您的快递费是', price)
